package com.iot.core.redis;

import java.io.IOException;
import java.util.Properties;

public class SysConfig {

    private static final String REDIS_CONFIG_PROPERTIES = "/sys_config.properties";

    public static String NETTY_SERVER_PATH;
    public static String WEB_SERVER_PATH;


    public static Properties props = new Properties();

    static {
        try {
            props.load(SysConfig.class.getResourceAsStream(REDIS_CONFIG_PROPERTIES));
            NETTY_SERVER_PATH = props.get("NETTY_SERVER_PATH").toString();
            WEB_SERVER_PATH = props.get("WEB_SERVER_PATH").toString();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }


}
